<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div>
	<form id="infoForm" target="hiddenFrame" action="${path}/mc/advertisePicsaveInfo" method="post" enctype="multipart/form-data">
		<input type="hidden" name="entity.id" value="${entity.id}" />
		<fieldset style="padding-left: 10px;">
			<table>
			  	<tr>
			  		<td>启动页图片</td>
			  		<td>
			  			<c:import url="/mc/common/imgPreview.jsp?hidName=entity.indexAdvertisePic.id&name=indexAdvertisePic.file&imgPath=${entity.indexAdvertisePic.id}&picId=${entity.indexAdvertisePic.id}&index=1" />	
			  			<label style='color:#F80;'>图片建议尺寸：375*667</label>
			  		</td>
			  	</tr>
			  	<tr>
			  		<td>链接网址</td>
			  		<td>
			  			<input type="text" name="entity.url" value="<c:choose><c:when test="${empty entity.url}"></c:when><c:otherwise>${entity.url}</c:otherwise></c:choose>"
			  				class="{required:true,messages:{required:'链接网址不能为空'}}"> 
			  		</td>
			  	</tr>
		   </table>
		</fieldset>
	</form>
</div>
